/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mavenrentcars.dao;

import com.mavenrentcars.model.User;
import com.mavenrentcars.model.Role;
import java.util.List;

/**
 *
 * @author dkozyrev
 */
public interface RoleDao extends GenericDao<Role, Integer> {

    public Role getByAccountAndRole(User account, String string);

    public List<Role> getByAccount(User account);
}
